using System;

using Microsoft.Xna.Framework;

using Elephant.Framework;

namespace Elephant.Utility.Components
{
    public abstract class DrawableContent : Drawable, IDrawableContent
    {
        #region IDrawableContent Members

        public virtual void LoadGraphicsContent(bool loadAllContent) { }
        public virtual void UnloadGraphicsContent(bool unloadAllContent) { }

        #endregion

        protected override void Dispose(bool disposing)
        {
            UnloadGraphicsContent(true);

            base.Dispose(disposing);
        }
    }
}
